{% extends "base.html" %}

{% block title %} Per Status Report{% endblock %}

{% block content %}
<table>
  <thead>
    <tr>
      <th>Status</th>
      <th>Books</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td>For Sale</td>
      <td><a href="/books/?filter=For+Sale&field=status">{{ for_sale }}</a></td>
    </tr>
    <tr>
      <td>Missing</td>
      <td><a href="/books/?filter=Missing&field=status">{{ missing }}</a></td>
    </tr>
    <tr>
      <td>On Hold</td>
      <td><a href="/books/?filter=On+Hold&field=status">{{ on_hold }}</a></td>
    </tr>
    <tr>
      <td>Seller Paid</td>
      <td><a href="/books/?filter=Seller Paid&field=status">{{ seller_paid }}</a></td>
    </tr>
    <tr>
      <td>Sold</td>
      <td><a href="/books/?filter=Sold&field=status">{{ sold }}</a></td>
    </tr>
    <tr>
      <td>To Be Deleted</td>
      <td><a href="/books/?filter=To+Be+Deleted&field=status">{{ to_be_deleted }}</a></td>
    </tr>
    <tr>
      <td>Deleted</td>
      <td><a href="/books/?filter=Deleted&field=status">{{ deleted }}</a></td>
    </tr>
  </tbody>
</table>
{% endblock %}
